Authentication and Signature
merchantId is assumed to be present in all deployments, so signature is mandatory for every request.
Formula:
sign = Base64( SHA1_HEX_LOWER( dataBase64 + merchantId ) )
Where:
dataBase64is the exactdataparameter string.merchantIdis configured on Cashbox side.
Signature failures return error code = 1 (AUTH_ERROR).
Exceptions:
/supported_operationsnever requiresdata/signat all — it accepts an empty body for backward-compatible discovery calls (see §6).- If
merchantIdis not configured on the device, signature verification is skipped entirely for every route — anysignvalue (including a missing one) is accepted. Do not rely on this for security; it exists only for deployments that haven't set upmerchantIdyet.